package com.ddm.dto.webDTO;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UpdateAvatarDTO {
    @NotNull(message = "userId不能为空")
    private Integer userId;

    @NotBlank(message = "photoUrl不能为空")
    private String photoUrl;
}